package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/ContractPayMethod.class */
public class ContractPayMethod {
    @ApiModelProperty("主键")
    private int id;
    @ApiModelProperty("项目编号")
    private String contractPayId;
    @ApiModelProperty("标段")
    private Integer contractPaySection;
    @ApiModelProperty("付款次数")
    private Integer contractPayNum;
    @ApiModelProperty("付款金额")
    private String contractPayMoney;
    @ApiModelProperty("付款百分比")
    private Integer contractpayPercentage;

    public void setId(int id) {
        this.id = id;
    }

    public void setContractPayId(String contractPayId) {
        this.contractPayId = contractPayId;
    }

    public void setContractPaySection(Integer contractPaySection) {
        this.contractPaySection = contractPaySection;
    }

    public void setContractPayNum(Integer contractPayNum) {
        this.contractPayNum = contractPayNum;
    }

    public void setContractPayMoney(String contractPayMoney) {
        this.contractPayMoney = contractPayMoney;
    }

    public void setContractpayPercentage(Integer contractpayPercentage) {
        this.contractpayPercentage = contractpayPercentage;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ContractPayMethod)) {
            return false;
        }
        ContractPayMethod other = (ContractPayMethod) o;
        if (!other.canEqual(this) || getId() != other.getId()) {
            return false;
        }
        Object this$contractPayId = getContractPayId();
        Object other$contractPayId = other.getContractPayId();
        if (this$contractPayId == null) {
            if (other$contractPayId != null) {
                return false;
            }
        } else if (!this$contractPayId.equals(other$contractPayId)) {
            return false;
        }
        Object this$contractPaySection = getContractPaySection();
        Object other$contractPaySection = other.getContractPaySection();
        if (this$contractPaySection == null) {
            if (other$contractPaySection != null) {
                return false;
            }
        } else if (!this$contractPaySection.equals(other$contractPaySection)) {
            return false;
        }
        Object this$contractPayNum = getContractPayNum();
        Object other$contractPayNum = other.getContractPayNum();
        if (this$contractPayNum == null) {
            if (other$contractPayNum != null) {
                return false;
            }
        } else if (!this$contractPayNum.equals(other$contractPayNum)) {
            return false;
        }
        Object this$contractPayMoney = getContractPayMoney();
        Object other$contractPayMoney = other.getContractPayMoney();
        if (this$contractPayMoney == null) {
            if (other$contractPayMoney != null) {
                return false;
            }
        } else if (!this$contractPayMoney.equals(other$contractPayMoney)) {
            return false;
        }
        Object this$contractpayPercentage = getContractpayPercentage();
        Object other$contractpayPercentage = other.getContractpayPercentage();
        return this$contractpayPercentage == null ? other$contractpayPercentage == null : this$contractpayPercentage.equals(other$contractpayPercentage);
    }

    protected boolean canEqual(Object other) {
        return other instanceof ContractPayMethod;
    }

    public int hashCode() {
        int result = (1 * 59) + getId();
        Object $contractPayId = getContractPayId();
        int result2 = (result * 59) + ($contractPayId == null ? 43 : $contractPayId.hashCode());
        Object $contractPaySection = getContractPaySection();
        int result3 = (result2 * 59) + ($contractPaySection == null ? 43 : $contractPaySection.hashCode());
        Object $contractPayNum = getContractPayNum();
        int result4 = (result3 * 59) + ($contractPayNum == null ? 43 : $contractPayNum.hashCode());
        Object $contractPayMoney = getContractPayMoney();
        int result5 = (result4 * 59) + ($contractPayMoney == null ? 43 : $contractPayMoney.hashCode());
        Object $contractpayPercentage = getContractpayPercentage();
        return (result5 * 59) + ($contractpayPercentage == null ? 43 : $contractpayPercentage.hashCode());
    }

    public String toString() {
        return "ContractPayMethod(id=" + getId() + ", contractPayId=" + getContractPayId() + ", contractPaySection=" + getContractPaySection() + ", contractPayNum=" + getContractPayNum() + ", contractPayMoney=" + getContractPayMoney() + ", contractpayPercentage=" + getContractpayPercentage() + PoiElUtil.RIGHT_BRACKET;
    }

    public int getId() {
        return this.id;
    }

    public String getContractPayId() {
        return this.contractPayId;
    }

    public Integer getContractPaySection() {
        return this.contractPaySection;
    }

    public Integer getContractPayNum() {
        return this.contractPayNum;
    }

    public String getContractPayMoney() {
        return this.contractPayMoney;
    }

    public Integer getContractpayPercentage() {
        return this.contractpayPercentage;
    }
}